package com.lanzuo.yxd.scanner.log;

import cn.hutool.core.date.DateTime;
import lombok.Data;

import java.util.List;

@Data
public class ScanLog {
    private String basePlateNo;      // 基板编号
    private List<String> productBarcode;   // 关联产品条码
    private String time;

    public ScanLog(String basePlateNo, List<String> productBarcode) {
        this.basePlateNo = basePlateNo;
        this.productBarcode = productBarcode;
        this.time = DateTime.now().toString("yyyy-MM-dd HH:mm:ss");
    }

}